﻿#include "IBLLNodeParam.h"
#include <QDebug>

using namespace CVV::Interface;
IBLLNodeParam::IBLLNodeParam(QObject *parent)
    : QObject(parent)
{
    m_lstYesNode.clear();
    m_lstNoNode.clear();
    m_strBranchType.clear();
    m_lstSubFlowNode.clear();
}

IBLLNodeParam::~IBLLNodeParam()
{
}

IBLLNodeParam::IBLLNodeParam(const IBLLNodeParam &obj)
{
    if (this == &obj)
    {
        return;
    }
    m_strPluginCode = obj.m_strPluginCode;
    m_strPluginId = obj.m_strPluginId;
    m_strPreId = obj.m_strPreId;
    m_pAlgOper = obj.m_pAlgOper;
    m_pAlgParam = obj.m_pAlgParam;
    m_pOutParam = obj.m_pOutParam;
    m_pBLLOper = obj.m_pBLLOper;
    m_isExternalInputPlugin=obj.m_isExternalInputPlugin;

    m_lstYesNode = obj.m_lstYesNode;
    m_lstNoNode = obj.m_lstNoNode;
    m_strBranchType = obj.m_strBranchType;
    m_inputImage = obj.m_inputImage;
    m_inputImageHeader = obj.m_inputImageHeader;
    m_lstSubFlowNode = obj.m_lstSubFlowNode;
}

IBLLNodeParam &IBLLNodeParam::operator =(const IBLLNodeParam &obj)
{
    if (this == &obj)
    {
        return *this;
    }

    m_strPluginCode = obj.m_strPluginCode;
    m_strPluginId = obj.m_strPluginId;
    m_strPreId = obj.m_strPreId;
    m_pAlgOper = obj.m_pAlgOper;
    m_pAlgParam = obj.m_pAlgParam;
    m_pOutParam = obj.m_pOutParam;
    m_pBLLOper = obj.m_pBLLOper;
    m_isExternalInputPlugin=obj.m_isExternalInputPlugin;

    m_lstYesNode = obj.m_lstYesNode;
    m_lstNoNode = obj.m_lstNoNode;
    m_strBranchType = obj.m_strBranchType;
    m_inputImage = obj.m_inputImage;
    m_inputImageHeader = obj.m_inputImageHeader;
    m_lstSubFlowNode = obj.m_lstSubFlowNode;

    return *this;
}
